projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e57d17
)
gl driver: Remove some type checks in a hot path
author
Timm Bäder
<mail@baedert.org>
Sat, 30 Dec 2017 17:34:34 +0000
(18:34 +0100)
committer
Timm Bäder
<mail@baedert.org>
Tue, 2 Jan 2018 07:10:06 +0000
(08:10 +0100)
gsk/gl/gskgldriver.c
patch
|
blob
|
history
diff --git
a/gsk/gl/gskgldriver.c
b/gsk/gl/gskgldriver.c
index 4861657dd32fc7b648f729a31a4d21e3cc4a43fd..6c05bf0b2b39bdbd51c79eaf16a82ea5b2aeb341 100644
(file)
--- a/
gsk/gl/gskgldriver.c
+++ b/
gsk/gl/gskgldriver.c
@@
-370,9
+370,6
@@
gsk_gl_driver_get_texture_for_texture (GskGLDriver *driver,
Texture *t;
cairo_surface_t *surface;
- g_return_val_if_fail (GSK_IS_GL_DRIVER (driver), -1);
- g_return_val_if_fail (GDK_IS_TEXTURE (texture), -1);
-
t = gdk_texture_get_render_data (texture, driver);
if (t)